/*
 * File:   Packets.h
 * Author: wilq
 *
 * Created on June 10, 2012, 12:35 PM
 */

#ifndef PACKETS_H
#define	PACKETS_H


namespace CSNetworkLib {

	/**
	 *	Głowny enum zawierający ID pakietów, używanych do komunikacji...
	 */
    enum COMMUNICATION_ID {
		PACKET_NONE = 0,                     //!< PACKET_NONE
		PACKET_SYNC,                         //!< PACKET_SYNC
		PACKET_EXCEPTION,                    //!< PACKET_EXCEPTION

        SendUserAutorization,          //!< SendUserAutorization

        PACKET_UserGetFilesInDir,      //!< PACKET_UserGetFilesInDir
        PACKET_UserGetFolderInDir,     //!< PACKET_UserGetFolderInDir
        PACKET_UserGetFoldersInDir,    //!< PACKET_UserGetFoldersInDir
        PACKET_UserRenameFile,         //!< PACKET_UserRenameFile
        PACKET_UserCreateFolder,       //!< PACKET_UserCreateFolder
        PACKET_UserDeleteFolder,       //!< PACKET_UserDeleteFolder
        PACKET_UserRenameFolder,       //!< PACKET_UserRenameFolder
        PACKET_UserAddUser,            //!< PACKET_UserAddUser
        PACKET_UserChangePassword,     //!< PACKET_UserChangePassword
        PACKET_UserRemoveUser,         //!< PACKET_UserRemoveUser
        PACKET_UserGetUsersList,       //!< PACKET_UserGetUsersList
        PACKET_UserAddGroup,           //!< PACKET_UserAddGroup
        PACKET_UserRemoveGroup,        //!< PACKET_UserRemoveGroup
        PACKET_UserGetGroupsList,      //!< PACKET_UserGetGroupsList
        PACKET_UserAddStorage,         //!< PACKET_UserAddStorage
        PACKET_UserChangeStorageKey,   //!< PACKET_UserChangeStorageKey
        PACKET_UserRemoveStorage,      //!< PACKET_UserRemoveStorage
        PACKET_UserGetStoragesList,    //!< PACKET_UserGetStoragesList

        PACKET_CLIENT_AutorizationReq, //!< PACKET_CLIENT_AutorizationReq
        PACKET_CLIENT_AutorizationResp,//!< PACKET_CLIENT_AutorizationResp
		PACKET_CLIENT_ShareReq,              //!< PACKET_CLIENT_ShareReq
		PACKET_CLIENT_ShareResp,             //!< PACKET_CLIENT_ShareResp
		PACKET_CLIENT_UnShareReq,            //!< PACKET_CLIENT_UnShareReq
		PACKET_CLIENT_UnShareResp,           //!< PACKET_CLIENT_UnShareResp
        PACKET_CLIENT_FileExistsReq,   //!< PACKET_CLIENT_FileExistsReq
        PACKET_CLIENT_FileExistsResp,  //!< PACKET_CLIENT_FileExistsResp
        PACKET_CLIENT_FileOpenReq,     //!< PACKET_CLIENT_FileOpenReq
        PACKET_CLIENT_FileOpenResp,    //!< PACKET_CLIENT_FileOpenResp
        PACKET_CLIENT_FileCloseReq,    //!< PACKET_CLIENT_FileCloseReq
        PACKET_CLIENT_FileCloseResp,   //!< PACKET_CLIENT_FileCloseResp
        PACKET_CLIENT_FileInfoReq,     //!< PACKET_CLIENT_FileInfoReq
        PACKET_CLIENT_FileInfoResp,    //!< PACKET_CLIENT_FileInfoResp
        PACKET_CLIENT_FileEofReq,      //!< PACKET_CLIENT_FileEofReq
        PACKET_CLIENT_FileEofResp,     //!< PACKET_CLIENT_FileEofResp
        PACKET_CLIENT_FileSeekReq,     //!< PACKET_CLIENT_FileSeekReq
        PACKET_CLIENT_FileSeekResp,    //!< PACKET_CLIENT_FileSeekResp
        PACKET_CLIENT_FileReadReq,     //!< PACKET_CLIENT_FileReadReq
        PACKET_CLIENT_FileReadResp,    //!< PACKET_CLIENT_FileReadResp
        PACKET_CLIENT_FileWriteReq,    //!< PACKET_CLIENT_FileWriteReq
        PACKET_CLIENT_FileWriteResp,   //!< PACKET_CLIENT_FileWriteResp
        PACKET_CLIENT_FileDeleteReq,   //!< PACKET_CLIENT_FileDeleteReq
        PACKET_CLIENT_FileDeleteResp,  //!< PACKET_CLIENT_FileDeleteResp

		PACKET_SERVER_AuthStorageReq,        //!< PACKET_SERVER_AuthStorageReq
		PACKET_SERVER_AuthStorageResp,       //!< PACKET_SERVER_AuthStorageResp
		PACKET_SERVER_OnSyncFolderInfo,      //!< PACKET_SERVER_OnSyncFolderInfo
		PACKET_SERVER_OnSyncFileInfo,        //!< PACKET_SERVER_OnSyncFileInfo

		PACKET_STORAGE_OnGetType_Req,        //!< PACKET_STORAGE_OnGetType_Req
		PACKET_STORAGE_OnGetType_Resp,       //!< PACKET_STORAGE_OnGetType_Resp
		PACKET_STORAGE_OnFileOpen_Req,       //!< PACKET_STORAGE_OnFileOpen_Req
		PACKET_STORAGE_OnFileOpen_Resp,      //!< PACKET_STORAGE_OnFileOpen_Resp
		PACKET_STORAGE_OnFileClose_Req,      //!< PACKET_STORAGE_OnFileClose_Req
		PACKET_STORAGE_OnFileClose_Resp,     //!< PACKET_STORAGE_OnFileClose_Resp
		PACKET_STORAGE_OnFileInfo_Req,       //!< PACKET_STORAGE_OnFileInfo_Req
		PACKET_STORAGE_OnFileInfo_Resp,      //!< PACKET_STORAGE_OnFileInfo_Resp
        PACKET_STORAGE_OnFileEof_Req,  //!< PACKET_STORAGE_OnFileEof_Req
        PACKET_STORAGE_OnFileEof_Resp, //!< PACKET_STORAGE_OnFileEof_Resp
		PACKET_STORAGE_OnFileSeek_Req,       //!< PACKET_STORAGE_OnFileSeek_Req
		PACKET_STORAGE_OnFileSeek_Resp,      //!< PACKET_STORAGE_OnFileSeek_Resp
		PACKET_STORAGE_OnFileWrite_Req,      //!< PACKET_STORAGE_OnFileWrite_Req
		PACKET_STORAGE_OnFileWrite_Resp,     //!< PACKET_STORAGE_OnFileWrite_Resp
		PACKET_STORAGE_OnFileRead_Req,       //!< PACKET_STORAGE_OnFileRead_Req
		PACKET_STORAGE_OnFileRead_Resp,      //!< PACKET_STORAGE_OnFileRead_Resp
		PACKET_STORAGE_OnFileDelete_Req,     //!< PACKET_STORAGE_OnFileDelete_Req
		PACKET_STORAGE_OnFileDelete_Resp,    //!< PACKET_STORAGE_OnFileDelete_Resp
		PACKET_STORAGE_OnFileMove_Req,       //!< PACKET_STORAGE_OnFileMove_Req
		PACKET_STORAGE_OnFileMove_Resp,      //!< PACKET_STORAGE_OnFileMove_Resp
		PACKET_STORAGE_OnFileCopy_Req,       //!< PACKET_STORAGE_OnFileCopy_Req
		PACKET_STORAGE_OnFileCopy_Resp,      //!< PACKET_STORAGE_OnFileCopy_Resp
		PACKET_STORAGE_OnFolderSync_Req,     //!< PACKET_STORAGE_OnFolderSync_Req
		PACKET_STORAGE_OnFolderSync_Resp,    //!< PACKET_STORAGE_OnFolderSync_Resp
		PACKET_STORAGE_OnFolderCreate_Req,   //!< PACKET_STORAGE_OnFolderCreate_Req
		PACKET_STORAGE_OnFolderCreate_Resp,  //!< PACKET_STORAGE_OnFolderCreate_Resp
		PACKET_STORAGE_OnFolderMove_Req,     //!< PACKET_STORAGE_OnFolderMove_Req
		PACKET_STORAGE_OnFolderMove_Resp,    //!< PACKET_STORAGE_OnFolderMove_Resp
		PACKET_STORAGE_OnFolderCopy_Req,     //!< PACKET_STORAGE_OnFolderCopy_Req
		PACKET_STORAGE_OnFolderCopy_Resp,    //!< PACKET_STORAGE_OnFolderCopy_Resp
		PACKET_STORAGE_OnFolderDelete_Req,   //!< PACKET_STORAGE_OnFolderDelete_Req
		PACKET_STORAGE_OnFolderDelete_Resp   //!< PACKET_STORAGE_OnFolderDelete_Resp
    };

};

#endif	/* PACKETS_H */

